package day07;

public class PersonTest {
    public static void main(String[] args) {
      // 创建对象
      Person p1 = new Person();
      p1.show(); // name:null age:0
      Person p2 = new Person("Tom", 20);
      p2.show();
      //
      Person p3 = new Person("Jerry");
      p3.show();
      Person p4 = new Person(30);
      p4.show();
    }
  }